package imvu.rbox
{
	import anshe.inface.IStruct;
	import anshe.inface.IWidget;
	import anshe.struct.game.GGameData;
	
	import flash.display.Sprite;
	
	import imvu.rbox.struct.*;

	public class RBoxData extends Sprite implements IWidget
	{
		public function RBoxData()
		{
			super();
		}		
		
		public function GetGamePlayerInfo(obj:Object):IStruct
		{
			return new CGamePlayerInfo().fromObject(obj);
		}
		
		public function GetGameRoomInfo(obj:Object):IStruct
		{
			return new CGameRoomInfo().fromObject(obj);
		}
		
		public function GetGameDataInfo(obj:Object):IStruct
		{
			return new GGameData().fromObject(obj);
		}		
	}
}